#ifndef _AODO_H
#define _AODO_H

#define DEBUG
#ifdef DEBUG
#define TR69C_STORE_PATH "./"
#else
#define TR69C_STORE_PATH "/private/xml/"
#endif
#define PortMappingMap "PortMapping.mapping"
#define L3ForwardingMap "L3Forwarding.mapping"
#define MAXMAPITEMS 256
#define MAXMAPLEN 256
#define MAXPORTMPENTRY 32
#define FILE_PATH_LEN   128

#define PORTMAPPING_PATH "InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping."
#define L3FORWARDING_PATH "InternetGatewayDevice.Layer3Forwarding.Forwarding."

#define L3FORWARDING 1

struct mappingInfo_s{
	char valid;
	int instance;
	char value[MAXMAPLEN];
};
typedef struct mappingInfo_s mapInfo_t;

// mio for multi instance object which need support AddObject and DeleteObject RPC.
void tr69c_mio_init();
void tr69c_mio_update(char *path);
void tr69c_mio_add_object(char *path);
void tr69c_mio_del_object(char *path);

#endif
